#include <jni.h>
#ifndef _Included_android_serialport_api_SerialPort
#define _Included_android_serialport_api_SerialPort
#ifdef __cplusplus
extern "C" {
#endif

JNIEXPORT jobject JNICALL Java_com_siecom_nativelibs_SerialPort_open
  (JNIEnv *, jclass, jstring, jint, jint,jint,jint,jchar);

JNIEXPORT void JNICALL Java_com_siecom_nativelibs_SerialPort_close
  (JNIEnv *, jobject);

JNIEXPORT void JNICALL Java_com_siecom_nativelibs_SerialPort_QuickCrc32
(JNIEnv *env, jclass c, jbyteArray in, jint len, jbyteArray out);

JNIEXPORT void JNICALL Java_com_siecom_nativelibs_SerialPort_Crc16CCITT
(JNIEnv *env, jclass c, jbyteArray in, jint len, jbyteArray out);

#ifdef __cplusplus
}
#endif
#endif
